/**
 * SignoutAction.java 1.0 2007-5-6 下午10:07:02,创建 by yangfan
 */


package org.in4j.bbs.action.user;

import java.util.Map;

import org.in4j.bbs.action.AbstractAction;
import org.in4j.bbs.common.Consts;

import com.opensymphony.webwork.interceptor.SessionAware;

/**
 *
 * @author yangfan
 * @version 1.0 2007-5-6 下午10:07:02,创建
 */
public class SignoutAction extends AbstractAction implements SessionAware
{
	private static final long serialVersionUID = 1L;

	private Map session;

	@Override
	public String execute() throws Exception
	{
		session.remove(Consts.SESSION_USER_INFO);
		return SUCCESS;
	}

	public void setSession(Map session)
	{
		this.session = session;
	}
}
